const randomString = require('../../util/noStr')
const axios = require('axios')
module.exports = [
  {
    url: '/home',
    method: 'get',
    request: (req, res) => {
      let noStr = randomString(36)
      res.render('index', {
        title: 'Express',
        // csrfToken: req.csrfToken(),
        randomString: noStr,
        date:new Date(),
        github:req.query.github
      })
    }
  }
]
